package client.comm.baoding.api.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

data class GoodsDetail(

    val freight: Int,
    val goods_id: String,
    val goods_img: String,
    val pay_type_str: String,
    val pay_type: String,
    val name: String,
    val sku: String,
    val token: String,
    val old_price: Double,
    var price: Double,
    var lpq_price: Double,//体验券
    val price_r: Double,//现金
    val integral: Double,//提现金
//    val integral_f: Double,//提现金
    val create_time: String,
    val priority: Int,
    val sales: Int,
    val stock_c: String,
    val stock_t: Int,
    val is_type: Int, //0原商品详情 1新商品详情
    val banner_list: List<Banner>,
    val goods_label: List<String>,
    val detail_list: List<Detail>,
) {
    @Parcelize
    data class Banner(
        val goods_id: Int,
        val create_time: String,
        val goods_img: String,
        val priority: Int
    ):Parcelable

    @Parcelize
    data class Detail(
        val goods_id: Int,
        val create_time: String,
        val goods_img: String,
        val priority: Int
    ):Parcelable
}